A Framework for Parallelizing Large-Scale, DOM-Interacting Web Experiments
نویسندگان
چکیده
Concurrently executing arbitrary JavaScript on many webpages is hard. For free-standing JavaScript — JavaScript that does not interact with a DOM — parallelization is easy. Many of the parallelization approaches that have been applied to other mainstream languages have been applied also to JavaScript. Existing testing frameworks such as Selenium Grid [19] and PhantomJS [16] allow developers to parallelize JavaScript tests that do interact with a DOM. However, these tools frequently limit the user to very constrained programming models. Although it is possible to build testing programs that take arbitrary inputs and yield arbitrary outputs (rather than pass or not pass) on top of these systems, the work required to do so is non-trivial. Controlling inputs — that is, pages — in order to carry out web research on real world pages is even less supported in modern tools. In fact, no existing tool provides same page guarantees. In response to this paucity of flexible and reliable systems, we built a framework designed for running large-scale JavaScript experiments on real webpages. We evaluate the scalability and robustness of our framework. Further, we present the node addressing problem. We evaluate a new node addressing algorithm against preexisting approaches, leveraging our framework’s clean programming model to streamline this large-scale experiment.
منابع مشابه
Implementation of Parallelizing Multi-layer Neural Networks Based on Cloud Computing
Background: Cloud computing, as a technology developed under the rapid development of modern network, is mainly used for processing large-scale data. The traditional data mining algorithms such as neural network algorithm are usually used for processing small-scale data. Therefore, the calculation of large-scale data using neural network algorithm must be based on cloud computing. Materials and...
متن کاملReactive Web Applications with Dynamic Dataflow in F#
Modern web applications depend heavily on data which may change over the course of the application’s execution: this may be in response to input from a user, information received from a server, or DOM events, for example. Much recent work has been carried out with the hope of improving upon the current callback-driven model: in particular, approaches such as functional reactive programming and ...
متن کاملParallel computation framework for optimizing trailer routes in bulk transportation
We consider a rich tanker trailer routing problem with stochastic transit times for chemicals and liquid bulk orders. A typical route of the tanker trailer comprises of sourcing a cleaned and prepped trailer from a pre-wash location, pickup and delivery of chemical orders, cleaning the tanker trailer at a post-wash location after order delivery and prepping for the next order. Unlike traditiona...
متن کاملSemantic Constraint and QoS-Aware Large-Scale Web Service Composition
Service-oriented architecture facilitates the running time of interactions by using business integration on the networks. Currently, web services are considered as the best option to provide Internet services. Due to an increasing number of Web users and the complexity of users’ queries, simple and atomic services are not able to meet the needs of users; and to provide complex services, it requ...
متن کاملLarge Scale Experiments Data Analysis for Estimation of Hydrodynamic Force Coefficients
This paper describes the various frequency domain methods which may be used to analyze experiments data on the force experienced by a circular cylinder in wave and current to estimate drag and inertia coefficients for use in Morison’s equation. An additional approach, system identification techniques (SIT) is also introduced. A set of data obtained from experiments on heavily roughened circular...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014